<!DOCTYPE html>
<html lang="en">
	<head>
		<meta charset="utf-8" />
		<title>后台管理系统</title>
		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" />
		<link rel="stylesheet" href="assets/css/font-awesome.min.css" />
		<link rel="stylesheet" href="assets/css/ace.min.css" />
		<link rel="stylesheet" href="assets/css/ace-rtl.min.css" />
        <link rel="stylesheet" href="assets/css/style.css"/>	
		<script src="assets/js/ace-extra.min.js"></script>		
        <!--[if !IE]> -->
		<script src="assets/js/jquery-1.9.1.min.js"></script>        
		<!-- <![endif]-->
		<script src="assets/js/bootstrap.min.js"></script>
		<script src="assets/js/typeahead-bs2.min.js"></script>		
		<script src="assets/js/ace.min.js"></script>        
		<script type="text/javascript">	
			jQuery(document).ready(function(){ 
			//初始化宽度、高度    
			$("#main-container").height($(window).height()-76); 
			$("#iframe").height($(window).height()-140); 		 
			$(".sidebar").height($(window).height()-99); 
			var thisHeight = $("#nav_list").height($(window).outerHeight()-173); 
			$(".submenu").height();
			$("#nav_list").children(".submenu").css("height",thisHeight);	  
			//左导航栏点击事件
			$(".iframeurl").click(function(){
						var cid = $(this).attr("name");
						var cname = $(this).attr("title");
						$("#iframe").attr("src",cid).ready();
						$(".Current_page").html(cname).css({"color":"#333","cursor":"default"}).ready();			
					});			
			});
			
			$( document).ready(function(){
			//点击事件
			$('#nav_list').find('li.home').click(function(){
			$('#nav_list').find('li.home').removeClass('active');
			$(this).addClass('active');
				});													
			//时间设置
			function currentTime(){ 
				var d=new Date(),str=''; 
				str+=d.getFullYear()+'年'; 
				str+=d.getMonth() + 1+'月'; 
				str+=d.getDate()+'日'; 
				str+=d.getHours()+'时'; 
				str+=d.getMinutes()+'分'; 
				str+= d.getSeconds()+'秒'; 
				return str; 
				} 
			setInterval(function(){$('#time').html(currentTime)},1000); 
			//退出系统
			$('#Exit_system').on('click', function(){
				layer.confirm('是否确定退出系统？', {
				btn: ['是','否'] ,//按钮
				icon:2,
					}, 
			function(){
			  location.href="login.html";	
					});
				});
			})
		</script>	
	</head>
	<body>
		<div class="navbar navbar-default" id="navbar">
			<div class="navbar-container" id="navbar-container">
				<div class="navbar-header pull-left">
					<a href="#" class="navbar-brand">
						<small>					
						<img src="assets/images/logo.png">
						</small>
					</a><!-- /.brand -->
				</div><!-- /.navbar-header -->
			   <div class="navbar-header pull-right" role="navigation">
               <ul class="nav ace-nav">	
                <li class="light-blue">
							<a data-toggle="dropdown" href="#" class="dropdown-toggle">
								<span  class="time"><em id="time"></em></span>
								<span class="user-info"><small>欢迎光临,</small>ADMIN	</span>
								<i class="icon-caret-down"></i>
							</a>
							<ul class="user-menu pull-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close">
								<li><a href="#"><i class="icon-cog"></i>设置</a></li>
								<li><a href="#"><i class="icon-user"></i>个人资料</a></li>
								<li class="divider"></li>
								<li><a href="javascript:ovid(0)" id="Exit_system"><i class="icon-off"></i>退出</a></li>
							</ul>
						</li>
	                   <li class="purple">
						<a data-toggle="dropdown" class="dropdown-toggle" href="#"><i class="icon-bell-alt"></i><span class="badge badge-important">n</span></a>
							<ul class="pull-right dropdown-navbar navbar-pink dropdown-menu dropdown-caret dropdown-close">
                            <li class="dropdown-header"><i class="icon-warning-sign"></i>n条通知</li>
								<li><a href="#"><i class="btn btn-xs btn-primary icon-user"></i>切换为编辑登录..</a></li>
								<li><a href="#">
										<div class="clearfix">
											<span class="pull-left"><i class="btn btn-xs no-hover btn-info icon-twitter"></i>粉丝</span>
											<span class="pull-right badge badge-info">+11</span>
										</div>
									</a>
								</li>
								<li><a href="#">查看所有通知<i class="icon-arrow-right"></i></a></li>
							</ul>
						</li>	
					</ul>
                </div>
			</div>
		</div>
		<div class="main-container" id="main-container">
			<div class="main-container-inner">
				<a class="menu-toggler" id="menu-toggler" href="#">
					<span class="menu-text"></span>
				</a>
				<!--左侧导航-->
				<div class="sidebar" id="sidebar">
					<div class="sidebar-shortcuts" id="sidebar-shortcuts">
                     <div class="sidebar-shortcuts-large" id="sidebar-shortcuts-large">后台管理系统  </div>
						<div class="sidebar-shortcuts-mini" id="sidebar-shortcuts-mini">
							<span class="btn btn-success"></span>
							<span class="btn btn-info"></span>
							<span class="btn btn-warning"></span>
							<span class="btn btn-danger"></span>
						</div>
					</div><!-- #sidebar-shortcuts -->
					<ul class="nav nav-list" id="nav_list">
				     <li class="home"><a href="javascript:void(0)" name="home.php" title="" class="iframeurl" ><i class="icon-dashboard"></i><span class="menu-text"> 系统首页 </span></a></li>
					 <li class="home"><a href="javascript:void(0)" name="system.php" title="系统设置" class="iframeurl"><i class="icon-wrench"></i><span class="menu-text">系统设置 </span></a></li>  
					</ul>
					<div class="sidebar-collapse" id="sidebar-collapse">
						<i class="icon-double-angle-left" data-icon1="icon-double-angle-left" data-icon2="icon-double-angle-right"></i>
					</div>
				</div>
				<!--内容-->
				<div class="main-content">
					<div class="breadcrumbs" id="breadcrumbs">
						<ul class="breadcrumb">
							<li><i class="icon-home home-icon"></i><a href="backstage.php">首页</a></li>
							<li class="active"><span class="Current_page iframeurl"></span></li>
                            <li class="active" id="parentIframe"><span class="parentIframe iframeurl"></span></li>
							<li class="active" id="parentIfour"><span class="parentIfour iframeurl"></span></li>
						</ul>
					</div>   
					<iframe id="iframe" style="border:0; width:100%; background-color:#FFF;"name="iframe" frameborder="0" src="home.php">  
					</iframe>	<!-- /.page-content -->
				</div><!-- /.main-content -->	
				
                <!--设置按钮事件-->
                  <div class="ace-settings-container" id="ace-settings-container">
                      <div class="btn btn-app btn-xs btn-warning ace-settings-btn" id="ace-settings-btn">
                          <i class="icon-cog bigger-150"></i>
                      </div>
                      <div class="ace-settings-box" id="ace-settings-box">  
                          <div>
                              <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-sidebar" />
                              <label class="lbl" for="ace-settings-sidebar"> 固定滑动条</label>
                          </div>
                          <div>
                              <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-rtl" />
                              <label class="lbl" for="ace-settings-rtl">切换到左边</label>
                          </div>
                          <div>
                              <input type="checkbox" class="ace ace-checkbox-2" id="ace-settings-add-container" />
                              <label class="lbl" for="ace-settings-add-container">
                                  切换窄屏
                                  <b></b>
                              </label>
                          </div>
                      </div>
                  </div><!-- /#ace-settings-container -->		
			</div><!-- /.main-container-inner -->			
		</div><!--main-container -->
		
         <!--底部样式-->
         <div class="footer_style" id="footerstyle">  
          <p class="l_f">版权所有：北京理工大学珠海学院</p>
          <p class="r_f">地址：广东省珠海市香洲区唐家湾金凤路6号  邮编：590000 </p>
         </div>

		
</body>
</html>

